<?php
    if(!isset($_SESSION['ADMIN']['USER']) OR ($_SESSION['ADMIN']['USER']==''))
    {
        redirect('?m=system&s=login');
        exit();
    }
?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="th" lang="th" xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>ADMIN CONTROL PANEL</title>
        <!--<title>ADMIN CONTROL PANEL BY KIDDEESTUDIO.COM</title>-->
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta http-equiv="Content-Style-Type" content="text/css" />
        <meta name="distribution" content="Thailand" />
        <meta http-equiv="content-language" content="th" />
        <meta name="copyright" content="&copy; 2010 นวัตพล ยศกำธร, http://www.kiddeestudio.com" />
        <meta name="author" content="kiddeestudio" />
        
        <link type="text/css" href="<?php echo SITEADMIN; ?>/css/reset.css" rel="stylesheet" />
        <link type="text/css" href="<?php echo SITEADMIN; ?>/css/text.css" rel="stylesheet" />
        <link type="text/css" href="<?php echo SITEADMIN; ?>/css/960_24_col.css" rel="stylesheet" />

        <link type="text/css" href="<?php echo SITEADMIN; ?>/css/global.css" rel="stylesheet" />
        <link type="text/css" href="<?php echo SITEADMIN; ?>/css/style.css" rel="stylesheet" />
	
        <link type="text/css" href="<?php echo SITEADMIN; ?>/css/jquryui_flick/style.css" rel="stylesheet" />
        <script type="text/javascript" src="<?php echo SITEADMIN; ?>/js/jquery-1.5.1.min.js"></script>
        <script type="text/javascript" src="<?php echo SITEADMIN; ?>/js/jquery-ui-1.8.11.custom.min.js"></script>
        <script type="text/javascript" src="<?php echo SITEADMIN; ?>/js/js.func.js"></script>
        <script type="text/javascript" src="<?php echo SITEADMIN; ?>/js/jquery.tablednd_0_5.js"></script>
         <!--[if IE 6]>
            <link href="<?php echo SITEADMIN; ?>/css/ie6.css" rel="stylesheet" />
        <![endif]-->
        <!--[if IE 7]>
            <link href="<?php echo SITEADMIN; ?>/css/ie7.css" rel="stylesheet" />
        <![endif]-->
        <!--[if IE 8]>
            <link href="<?php echo SITEADMIN; ?>/css/ie8.css" rel="stylesheet" />
        <![endif]-->
    </head>
    <body>
        <div class="container_24" id="wrapper">
            <div class="grid_12" id="logo">
		<p>Admin control panel by</p>
		<!--<img src="<?php echo SITEADMIN; ?>/images/logo.png" />-->
            </div>
            <!-- end .grid_12 -->
            <div class="grid_12" id="info">
                <a href="?m=system&s=login" title="LOG OUT">Logout</a> | <a href="<?php echo SITEURL; ?>">ดูหน้าเว็บ</a>
            </div>
            <!-- end .grid_12 -->
            <div class="clear">&nbsp;</div>
            
            <div class="grid_24" id="menu">
	    <?php include(ADMINPATH.'/menu.php'); ?>
            </div><!-- end .grid_24 -->
            <div class="clear">&nbsp;</div>